package com.ruoyi.project.module.paytype.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 支付方式表 movie_paytype
 * 
 * @author frey
 * @date 2018-11-13
 */
public class Paytype extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 支付方式编码 */
	private String payMethod;
	/** 支付方式名称 */
	private String payName;
	/** 1：有效  0：无效 */
	private Integer isEffective;
	/**  */
	private Date createTime;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setPayMethod(String payMethod) 
	{
		this.payMethod = payMethod;
	}

	public String getPayMethod() 
	{
		return payMethod;
	}
	public void setPayName(String payName) 
	{
		this.payName = payName;
	}

	public String getPayName() 
	{
		return payName;
	}
	public void setIsEffective(Integer isEffective) 
	{
		this.isEffective = isEffective;
	}

	public Integer getIsEffective() 
	{
		return isEffective;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("payMethod", getPayMethod())
            .append("payName", getPayName())
            .append("isEffective", getIsEffective())
            .append("createTime", getCreateTime())
            .toString();
    }
}
